package com.cangshi.dao;

import com.cangshi.entity.Task;
import com.cangshi.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateUserStatePowerByPrimaryKey(User  record);

    int updateUserLevelCreditByPrimaryKey(User record);

    int updateByPrimaryKey(User record);

    int insertUserRegisterByTelphone(User user);

    int insertUserRegisterByEmail(User user);

    User selectIdByTelPhone(User telPhone);

    User selectIdByuserEmail(User userEmail);

    User selectUserLevelCreditByPrimaryKey(User record);

    User selectUserStatePowerByPrimaryKey(User  record);

    int updatePasswordByUserId(User record);
    User selectUserPartInfoById(Integer userId ) ;

}
